<!DOCTYPE html>
<html>
    <head>
        {include file="common/meta" /}
        <link href="__CDN__/assets/css/user.css?v={$Think.config.site.version}" rel="stylesheet">
        <link rel="stylesheet" href="__CDN__/assets/zp_index/base.css">
	    <link href="__CDN__/assets/zp_index/layer.css" rel="stylesheet">
	    <link rel="stylesheet" href="__CDN__/assets/zp_index/home.css">
	    <link href="__CDN__/assets/zp_index/login.css" rel="stylesheet">
	    <script src="__CDN__/assets/zp_index/hm.js"></script>
	    <script src="__CDN__/assets/zp_index/jquery.min.js"></script>
	    <script src="__CDN__/assets/zp_index/base.js"></script>
	    <script src="__CDN__/assets/zp_index/layer.js"></script>
	    <script src="__CDN__/assets/zp_index/CitySelect.js"></script>
	    <script src="__CDN__/assets/zp_index/GetCity"></script>
	    <script src="__CDN__/assets/zp_index/getscript"></script>
	    <link rel="stylesheet" href="__CDN__/assets/zp_index/base.css">
	    <link rel="stylesheet" href="__CDN__/assets/zp_index/recruitmentProject.css">
	    <link rel="stylesheet" href="__CDN__/assets/zp_index/pagination.css">
	    <script src="__CDN__/assets/zp_index/jquery.min.js"></script>
	    <script src="__CDN__/assets/zp_index/pagination.js"></script>
	    <script>
	        //招聘项目流程
	        $('#recruitlist a').on('click', function () {
	            var url = $(this).attr('data-name');
	            console.log(url);
	            $('#content').load(url)
	        });
	    </script>
    </head>

    <body>

        <nav class="navbar navbar-inverse navbar-fixed-top" role="navigation">
            <div class="container">
                <div class="navbar-header">
                    <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#header-navbar">
                        <span class="sr-only">Toggle navigation</span>
                        <span class="icon-bar"></span>
                        <span class="icon-bar"></span>
                        <span class="icon-bar"></span>
                    </button>
                    <a class="navbar-brand" href="{:url('/')}" style="padding:6px 15px;"><img src="__CDN__/assets/img/logo.png" style="height:40px;width:120px;" alt=""></a>
                </div>
                <div class="collapse navbar-collapse" id="header-navbar">
                    <ul class="nav navbar-nav navbar-right">
                        <li><a href="http://www.huajierenli.com" target="_blank">{:__('Home')}</a></li>
                        <li><a href="{:url('index/index/index')}" target="_blank">政企招聘</a></li>
                        <li class="dropdown">
                            {if $user}
                            <a href="{:url('user/index')}" class="dropdown-toggle" data-toggle="dropdown" style="padding-top: 10px;height: 50px;">
                                <span class="avatar-img"><img src="__CDN__/{$user.avatar}" alt=""></span>
                            </a>
                            {else /}
                            <a href="{:url('user/index')}" class="dropdown-toggle" data-toggle="dropdown">{:__('User center')} <b class="caret"></b></a>
                            {/if}
                            <ul class="dropdown-menu">
                                {if $user}
                                <li><a href="{:url('user/index')}"><i class="fa fa-user-circle fa-fw"></i>{:__('User center')}</a></li>
                                <li><a href="{:url('user/myapply')}"><i class="fa fa-list fa-fw"></i>我的报名</a></li>
                                <li><a href="{:url('user/profile')}"><i class="fa fa-user-o fa-fw"></i>{:__('Profile')}</a></li>
                                <li><a href="{:url('user/changepwd')}"><i class="fa fa-key fa-fw"></i>{:__('Change password')}</a></li>
                                <li><a href="{:url('user/logout')}"><i class="fa fa-sign-out fa-fw"></i>{:__('Sign out')}</a></li>
                                {else /}
                                <li><a href="{:url('user/login')}"><i class="fa fa-sign-in fa-fw"></i> {:__('Sign in')}</a></li>
                                <li><a href="{:url('user/register')}"><i class="fa fa-user-o fa-fw"></i> {:__('Sign up')}</a></li>
                                {/if}

                            </ul>
                        </li>
                    </ul>
                </div>
            </div>
        </nav>

        <main class="content">
            
        <div class="u-page u-recruit-box">
        <script src="__CDN__/assets/zp_index/Advertisement"></script>
        <div class="u-recruit-img" id="advmodel">   
        	<img style="cursor:pointer" onclick="window.location=&#39; http://{$ad_row.ad_url}  &#39;" src="__CDN__/{$ad_row.ad_img}" alt="{$ad_row.ad_title}">
        </div>
        <div class="u-recruit-content">
            <ul class="u-recruit-list" id="recruitlist">
 				{volist name="rec_list" id="rec"}
                    <li>
                        <a href="{:url('index/info',array('recruit_id'=>$rec['recruit_id']))}" class="u-recruit-a" target="_self">
                            <img src="__CDN__/{$rec.recruit_thumb}" alt="">
                            <div class="u-recruit-text">
                                <h5>{$rec.recruit_title}</h5>
                                <p class="u-recruit-p1">当前流程：<span>{php}echo getTableInfo('hs_recruit_step','step_id',$rec['step_id'],'step_name'){/php}</span></p>
                                <p class="u-recruit-p2">{$rec.recruit_desc}</p>
                            </div>
                        </a>
                    </li>
                 {/volist}
            </ul>
        </div>
        
        <div class="M-box">{$rec_list->render()}</div>
    </div>
            
        </main>

        <footer class="footer" style="clear:both">
            <!-- 华杰人力是开源程序，建议在您的网站底部保留一个华杰人力的链接 -->
            <p class="copyright">Copyright&nbsp;©&nbsp;2017-2018 Powered by <a href="http://www.huajierenli.com" target="_blank">华杰人力</a> All Rights Reserved {$site.name} {:__('Copyrights')} <a href="https://www.miibeian.gov.cn" target="_blank">{$site.beian}</a> <a href="{:url('admin/index/index')}" target="_blank">登陆后台</a></p>
        </footer>

        {include file="common/script" /}

    </body>

</html>